package com.example.blog.service;

import com.example.blog.entity.SysUser;
import com.example.blog.vo.Result;
import com.example.blog.vo.params.LoginParams;

public interface LoginService {

    /**
     * 登录功能
     *
     * @param loginParams
     * @return
     */
    public Result login(LoginParams loginParams);

    public SysUser checkToken(String token);

    public Result logout(String token);

    public Result register(LoginParams loginParams);
}
